﻿using KinTN_WMS_CL.Model;
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KinTN_WMS_CL.Resource
{
    public class ButtonViewModel : BindableBase
    {
        public string ButtonText { get; }
        public string IconPath { get; } // 添加图标路径

        public ButtonType ButtonType { get; } // 添加图标路径
        public DelegateCommand Command { get; }

        public ButtonViewModel(ButtonType buttonType, string buttonText, string iconPath, DelegateCommand command)
        {
            ButtonText = buttonText;
            IconPath = iconPath;
            Command = command;
            ButtonType = buttonType;
        }
    }
}
